package com.gdupt.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gdupt.entity.ContactRecord;
import com.gdupt.mapper.ContactRecordMapper;
import com.gdupt.service.IContactRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 交往记录 交往记录 服务实现类
 * </p>
 *
 * @author gdupt
 * @since 2018-11-21
 */
@Service
public class ContactRecordServiceImpl extends ServiceImpl<ContactRecordMapper, ContactRecord> implements IContactRecordService {

    @Autowired
    private ContactRecordMapper contactRecordMapper;

    @Override
    public List<ContactRecord> search(IPage page, long customerId) {
        return contactRecordMapper.search(page,customerId);
    }

}
